package com.rmt.www.action;

import java.sql.Array;
import java.util.List;

import com.opensymphony.xwork2.ActionSupport;
import com.rmt.www.dao.UserDao;
import com.rmt.www.service.AdminManageProjectService;
import com.rmt.www.service.AdminManageUserService;
import com.rmt.www.vo.Project;
import com.rmt.www.vo.User;



public class AdminHomeAction extends ActionSupport{
	private static final long serialVersionUID = 1L;
	private List<Project> projectList;
	private AdminManageProjectService adminManageProjectService;
	
	public List<Project> getProjectList() {
		return projectList;
	}

	public void setProjectList(List<Project> projectList) {
		this.projectList = projectList;
	}
	
	public String execute(){
		projectList=adminManageProjectService.getProjectList();
		return "success";
	}

	public AdminManageProjectService getAdminManageProjectService() {
		return adminManageProjectService;
	}

	public void setAdminManageProjectService(
			AdminManageProjectService adminManageProjectService) {
		this.adminManageProjectService = adminManageProjectService;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
}
